package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Scene;
import cn.wolfcode.luowowo.article.query.SceneQuery;
import java.util.List;

public interface SceneMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Scene record);

    Scene selectByPrimaryKey(Integer id);

    List<Scene> selectAll();

    int updateByPrimaryKey(Scene record);

    List<Scene> selectHotTop5(Long DestId);

    List selectForList(SceneQuery qo);

    Scene selectDestBysurvey(Long destId);

    List<Scene> selectTop10();

    Scene selectScene(Long id);

    List<Scene> selectListByScene(Long parentId);

    List<Scene> selectByUserId(Long id);
}